<template>
  <div id="app">
      <input type="button" value="点击按钮" @click="bb">
    <login :visible.sync='visible' @loginSuccess="aa" color="#ef3b79" top="15vh" width="80%" size="16px" domain="http://192.168.2.254:8080" :busId="36"/>
  </div>
</template>

<script>
import login from './components/login/index.js'
export default {
    name: 'App',
    components: {
        login
    },
    data(){
        return{
            visible:false
        }
    },
    methods:{
        aa(val){},
        bb(){
            this.visible = true
        }
    }
}
</script>

<style>
#app {
  font-family: 'MicrosoftYaHei, Helvetica, Arial, sans-serif';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
</style>
